﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.ServiceModel.Activation;

namespace Chinaer.WCF.Services
{
    [ServiceBehavior]
    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
    public class TestService 
    {
        [OperationBehavior(Impersonation = ImpersonationOption.Allowed)]
        public string DoWork(string value)
        {
            Chinaer.Model.Common.JsonResult jsonResult = new Model.Common.JsonResult();
            jsonResult.Success = true;
            return Chinaer.Core.Helper.Mobile.JsonHelper.GetJsonResult(jsonResult);
        }
    }
}
